function [opt_settings, alpha, minutes_per_step, simulation_time, ...
    observation_interval, ctrl_interval ] = load_params()
%load parameters needed for the simulation

alpha = 0.5;

opt_settings = optimset('Algorithm','interior-point','Display','off');

minutes_per_step = 1;

simulation_time = 24*60;

% observing window for estimating parameters.
% (ctrl_interval - observation_interval) should be greater or equal to
% scale up/down time for better performance.
% Also, an observation_interval lower than 2 steps
% (observation_interval/minutes_per_step<2) does not allow to compute the
% derivative for the estimate of the input.
% Increase observation_interval steps to reduce noise.
observation_interval =2;

% Interval between control intervals.
% (ctrl_interval - observation_interval) should be greater or equal to
% scale up/down time for better performance.
ctrl_interval = 5;

end